<!DOCTYPE html>
<html lang="en">
<meta name="viewport" content="width=device-width,height=device-height, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"/>
<head>
    <meta charset="UTF-8">
    <title>Parameter Redirect</title>
    <script>
        function redirectWithParams(paramValue) {
            window.location.href = 'svgaplayer.html?param=' + encodeURIComponent("samples/heartbeat.svga");
        }
    </script>
</head>
<body>

<button onclick="redirectWithParams('value')">Redirect</button>

</body>
</html>